<?php
// $Id: page.tpl.php,v 1.18.2.1 2009/04/30 00:13:31 goba Exp $
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
  <head>
    <?php print $head ?>
    <title><?php print $head_title ?></title>
   <?php
	 print phptemplate_get_ie_styles(); 
	 print $styles;
     print $scripts;
	 ?>
   
  </head>
  <body<?php print phptemplate_body_class($left, $right); ?>>

    <div class="wrapper"><!-- ************************* Wrappper div Start here *******************************  -->
    <div class="login_area"><!-- login area div start here -->
                 <?php print $top_right;?>
             </div><!-- login area div END here -->
	<div class="headerarea1"><!-- *** Headerarea div Start here ***  -->
    	<div class="logo_welcome">
            
             <div class="logoarea">
                <?php if ($logo) { ?><a href="<?php print $base_path ?>" title="<?php print t('Home') ?>">
<img src="<?php print $logo ?>"  width="258" height="80" alt="<?php print t('Home') ?>" /></a><?php } ?>
            </div>
            
    	</div>
        <div class="menu_post_area"><!-- menu post_area div start here -->
        	<div class="menu_area">
            <?php if (isset($primary_links)) : ?>
          <?php print theme('links', $primary_links, array('class' => 'menu')) ?>
        <?php endif; ?>
            </div>
            <?php if($search_area){
          print $search_area;
             } ?>
        </div><!-- menu post_area div END here -->
        
        
        <!-- modules area div END here -->
        
    </div>
    
    <!-- *** Headerarea div End here ***  -->
    <?php if($banner){?>
    <div class="banner"><?php print $banner;?></div>
    <?php } ?>
    <?php if($banner1){?>	
    <div class="modules_area"><!-- modules area div start here -->
        <?php print $banner1;?>	
        </div>
        <?php }?>	
    <div class="pagearea"><!-- *** Pagearea div Start here ***  -->
    	<div class="page_place">        <!-- page place div start here -->
        <div class="addtocart_left_area">	<!-- left container div start here -->
        <?php if($steps){?>
        <div class="steps"><?php print $steps;?></div>
        <?php }?>
            	<?php if($left){?>
        	<div class="leftarea product"><!-- left area div start here -->
				<?php print $left;?>
            <!--<p class="facebook">Feedback</p>-->
            </div><!-- left area div End here -->
                        	<?php }?>
        	<div class="select_cart_div" <?php if(!$left){print 'style="width:99%;"';}?>><!-- content Area div  start here -->
            <?php print $bottom;?>
            	 
                
                 <div id="content-content">
                 <?php print $breadcrumb; ?>
          <?php if ($mission): print '<div id="mission">'. $mission .'</div>'; endif; ?>
          <?php if ($tabs): print '<div id="tabs-wrapper" class="clear-block">'; endif; ?>
          <?php //if ($title): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif; ?>
          <?php if ($tabs): print '<ul class="tabs primary">'. $tabs .'</ul></div>'; endif; ?>
          <?php if ($tabs2): print '<ul class="tabs secondary">'. $tabs2 .'</ul>'; endif; ?>
          <?php if ($show_messages && $messages): print $messages; endif; ?>
      <?php print $content; ?>
    </div>
             </div><!-- content Area div  END here -->
             </div><!-- left container div END here -->
             <?php if($right){ ?>             
            <div class="addtocart_right_area"><!-- right area div start here -->
		  <?php print $right;?>          	
            </div><!-- right area div END here -->
            <?php } ?>
        
        </div><!-- page place div END here -->
       
        <div class="clear"></div>
        <?php print $footer;?>
    </div><!-- *** Pagearea div End here ***  -->
    
    <div class="footerarea"><!-- *** Footerarea div Start here ***  -->
    	<p> <a href="#">Home</a> <a href="#">About us</a> <a href="#">contact us</a> copyrights reserved  
        	<a href="#">privacy policy</a> <a href="#">terms &amp; conditions</a></p>
    </div><!-- *** Footerarea div End here ***  -->
</div>
<!--  </div> -->
<!-- /layout -->

  <?php print $closure ?>
  </body>
</html>
